package com.sskj.finance.bean;

import com.sskj.lib.util.NumberUtil;

public class FinanBean {

    /**
     * id : 27
     * name : 大额翻倍计划100天
     * num_total : 100000000
     * num_min : 100
     * days : 100
     * expect_rate : 150.0000
     * starttime : 2019-06-01
     * endtime : 2019-06-30
     */

    private String id;
    private String name;
    private String num_total;
    private String num_min;
    private String days;
    private String expect_rate;
    private String starttime;
    private String endtime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum_total() {
        return num_total;
    }

    public void setNum_total(String num_total) {
        this.num_total = num_total;
    }

    public String getNum_min() {
        return NumberUtil.keepNoZero(num_min);
    }

    public void setNum_min(String num_min) {
        this.num_min = num_min;
    }

    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }

    public String getExpect_rate() {
        return NumberUtil.keepMax2(expect_rate);
    }

    public void setExpect_rate(String expect_rate) {
        this.expect_rate = expect_rate;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }
}
